﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using System.Net.Mail;
using MvcEngine.Core.Configuration;

namespace MvcEngine.Core.Services
{
    public interface IEmailSender
    {
        void SendMail(EmailSettings settings, MailMessage mail);
        void SendMailAsync(EmailSettings settings, string fromAddress, string toAddress, string subject, string body);
        void SendMail(EmailSettings settings, string fromAddress, string toAddress, string subject, string body);
        string GetMailBody(string resourceKey, params string[] pairs);
    }
}
